﻿<%@ Page Language="C#" MasterPageFile="~/ExoticCarRental.Master" AutoEventWireup="true" CodeBehind="Browse.aspx.cs" Inherits="ExoticCarRental.Browse" Title="Browse Our Cars" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style28
        {
            height: 32px;
            font-weight: 700;
        }
        .style29
        {
            width: 154px;
        }
        .style30
        {
            width: 176px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpMainContent" runat="server">
    <b>Browse Cars</b><table>
        <tr>
            <td class="style28">
                Select Car Category:<asp:DropDownList ID="cboCategories" runat="server" 
                    onselectedindexchanged="cboCategories_SelectedIndexChanged">
                </asp:DropDownList>
                &nbsp;&nbsp;
                <asp:Button ID="Button1" runat="server" Text="Submit" onclick="Button1_Click" />
            </td>
            <td class="style28">
                </td>
        </tr>
        <tr>
            <td>
                <b>Category Information</b>::<br />
                <br />
                <table class="style1">
                    <tr>
                        <td class="style29">
                            Category Name</td>
                        <td class="style30">
                            <asp:Label ID="lblCateGoryName" runat="server"></asp:Label>
                        </td>
                        <td rowspan="5">
                            <asp:Image ID="imgCar" runat="server" ImageAlign="Middle" />
                        </td>
                    </tr>
                    <tr>
                        <td class="style29">
                            Category Description</td>
                        <td id="lblCateGoryDesc" class="style30">
                            <asp:Label ID="lblCategoryDesc" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="style29">
                            Daily Rate</td>
                        <td class="style30">
                            <asp:Label ID="lblDailyRate" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="style29">
                            Daily Insurance</td>
                        <td class="style30">
                            <asp:Label ID="lblDailyInsurance" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="style29">
                            <asp:Button ID="btnMakeReservation" runat="server" Text="Make Reservation" 
                                onclick="Button2_Click" />
                        </td>
                        <td class="style30">
                            &nbsp;</td>
                    </tr>
                </table>
                <br />
            </td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
&nbsp;
</asp:Content>
